package a.h;

import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener;
import java.beans.PropertyVetoException;
import java.beans.VetoableChangeListener;

public abstract class d
  implements tb, xc, gd
{
  public static final String d = "enabled";
  public static final String e = "value";
  public static final String f = "valueUndefined";
  public static final String g = "autoCommit";
  public static final String h = "autoAdopt";
  ec i;
  private boolean j;
  private boolean k;
  private final vb l;
  public static boolean m;
  
  protected d(ec paramec)
  {
    this.i = paramec;
    this.l = new vb(this);
    this.j = Boolean.TRUE.equals(paramec.c("ItemEditor.autoCommit"));
    this.k = Boolean.TRUE.equals(paramec.c("ItemEditor.autoAdopt"));
  }
  
  public ec k()
  {
    return this.i;
  }
  
  public boolean l()
  {
    return this.j;
  }
  
  public void a(boolean paramBoolean)
  {
    if ((ec.t != 0) || (this.j != paramBoolean))
    {
      boolean bool = this.j;
      this.j = paramBoolean;
      a(g, nb.a(bool), nb.a(paramBoolean));
    }
  }
  
  public boolean m()
  {
    return this.k;
  }
  
  public void b(boolean paramBoolean)
  {
    boolean bool = this.k;
    if (ec.t == 0)
    {
      if (bool != paramBoolean) {
        this.k = paramBoolean;
      }
    }
    else {
      a(h, nb.a(bool), nb.a(paramBoolean));
    }
  }
  
  public void c()
  {
    int n = ec.t;
    if (n == 0)
    {
      if (p())
      {
        this.i.b(true);
        if (n != 0) {
          return;
        }
        if (!ec.s) {}
      }
      else
      {
        this.i.a(n());
      }
    }
    else {
      this.i.b(false);
    }
    this.i.a(o());
  }
  
  public void d()
  {
    int n = ec.t;
    if (n == 0)
    {
      if (this.i.m())
      {
        d(true);
        if (n != 0) {
          return;
        }
        if (!ec.s) {}
      }
      else
      {
        a(this.i.o());
      }
    }
    else {
      d(false);
    }
    c(this.i.f());
  }
  
  public void e()
  {
    if (ec.t == 0)
    {
      if ((this.i instanceof u)) {
        a(((u)this.i).a());
      }
    }
    else if (!ec.s) {
      return;
    }
    throw new UnsupportedOperationException();
  }
  
  protected void a(Object paramObject1, Object paramObject2)
  {
    a(e, paramObject1, paramObject2);
    if ((ec.t != 0) || (l())) {
      this.i.a(paramObject2);
    }
  }
  
  protected void a(boolean paramBoolean1, boolean paramBoolean2)
  {
    a(d, nb.a(paramBoolean1), nb.a(paramBoolean2));
    if ((ec.t != 0) || (l())) {
      this.i.a(paramBoolean2);
    }
  }
  
  protected void b(boolean paramBoolean1, boolean paramBoolean2)
  {
    a(f, nb.a(paramBoolean1), nb.a(paramBoolean2));
    if ((ec.t != 0) || (l())) {
      this.i.b(paramBoolean2);
    }
  }
  
  public void c(PropertyChangeListener paramPropertyChangeListener)
  {
    this.l.c(paramPropertyChangeListener);
  }
  
  public void d(PropertyChangeListener paramPropertyChangeListener)
  {
    this.l.d(paramPropertyChangeListener);
  }
  
  public void c(String paramString, PropertyChangeListener paramPropertyChangeListener)
  {
    this.l.c(paramString, paramPropertyChangeListener);
  }
  
  public void d(String paramString, PropertyChangeListener paramPropertyChangeListener)
  {
    this.l.d(paramString, paramPropertyChangeListener);
  }
  
  protected void a(String paramString, Object paramObject1, Object paramObject2)
  {
    this.l.a(paramString, paramObject1, paramObject2);
  }
  
  protected void a(PropertyChangeEvent paramPropertyChangeEvent)
  {
    this.l.a(paramPropertyChangeEvent);
  }
  
  public void a(VetoableChangeListener paramVetoableChangeListener)
  {
    this.l.a(paramVetoableChangeListener);
  }
  
  public void b(VetoableChangeListener paramVetoableChangeListener)
  {
    this.l.b(paramVetoableChangeListener);
  }
  
  public void a(String paramString, VetoableChangeListener paramVetoableChangeListener)
  {
    this.l.a(paramString, paramVetoableChangeListener);
  }
  
  public void b(String paramString, VetoableChangeListener paramVetoableChangeListener)
  {
    this.l.b(paramString, paramVetoableChangeListener);
  }
  
  protected void b(String paramString, Object paramObject1, Object paramObject2)
    throws PropertyVetoException
  {
    this.l.c(paramString, paramObject1, paramObject2);
  }
  
  protected void b(PropertyChangeEvent paramPropertyChangeEvent)
    throws PropertyVetoException
  {
    this.l.b(paramPropertyChangeEvent);
  }
}


/* Location:           E:\idea\
 * Qualified Name:     a.h.d
 * JD-Core Version:    0.7.0.1
 */